package com.demo.project_template.service;

import com.demo.project_template.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.demo.project_template.vo.request.sys.SysUserRequestVO;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author 杨玉龙
 * @since 2024-01-03 20:32:03
 */
public interface SysUserService extends IService<SysUser> {

    void deleteSysUser(Integer sysUserId);

    void createOrUpdateSysUser(Integer updateSource,SysUserRequestVO sysUserRequestVO);

    boolean checkUserNameUnique(Long userId,String username);

    boolean checkPhoneUnique(Long userId,String tel);
}
